<?php

Route::group('api', function () {
   // Route::get('test', 'auto/test');
   // Route::get('remove_img', 'auto/test');
   // Route::get('remove_img2', 'auto/test2');
    // Route::get('open', 'Common/open');
   // Route::post('uploaderBase64V2', 'api/uploaderBase64V2');
   /*
   Route::group('member', function () {
        Route::post('login', 'member/login_post');    //登录
        Route::get('logout', 'member/logout');        //退出
        Route::post('register', 'member/register_post')->middleware('CheckSmsCode');            //注册
        Route::post('password_find', 'member/password_find_post')->middleware('CheckSmsCode');  //找回密码

        Route::group(['middleware' => ['Auth']], function () {

            Route::get('message', 'member/message');                      //接手公告
            Route::get('message_detail', 'member/message_detail');        //接手公告

            Route::get('/index', 'member/index');                         //首页
            Route::get('/AppIconBadge', 'member/AppIconBadge');           //APP角标
            Route::get('/qrCode', 'member/qrCode');                       //推广二维码海报
            Route::get('/bind', 'member/bind');                           //各种绑定状态
            Route::get('/bind_taobao_detail_hightquality', 'member/bind_taobao_detail_hightquality');
            Route::post('/bind_taobao_detail_hightquality', 'member/bind_taobao_detail_hightquality_post');
            Route::get('/scoreLog', 'member/scoreLog');                   //信用评分
            Route::get('/my', 'member/my');                               //我的
            Route::get('/promotion', 'member/promotion');                 //推广
            Route::get('/myPromotion', 'member/myPromotion');             //我的推广
            Route::get('refresh', 'member/refresh');                      //刷新接口
            Route::post('edit_avatar', 'member/edit_avatar_post');        //修改用户信息
            Route::post('edit_pwd', 'member/edit_pwd_post');              //修改密码

            Route::get('platform', 'member/platform');                    //已经绑定买入账号列表
            Route::get('platform_isaccept', 'member/platform_isaccept');  //账号接单设置
            Route::post('platform', 'member/platform_post');              //绑定买入账号

            Route::get('bind_idcard', 'member/bind_idcard');              //绑定身份证状态
            Route::post('bind_idcard', 'member/bind_idcard_post');        //绑定身份证
            Route::post('bind_bank', 'member/bind_bank_post');            //绑定银行卡
            Route::post('bind_qq', 'member/bind_qq_post');                //绑定QQ号

            Route::get('appeal', 'member/appeal');                        //申诉中心
            Route::get('getChild', 'member/getChild');                    //下级代理
            Route::get('accept', 'member/accept');                        //获取接任务举手状态
            Route::post('accept', 'member/accept_post');                  //举手接任务状态设置
        });
    });
*/
    // Route::group('order', function () {
    //     Route::get('getMyOrderList', 'order/getMyOrderList');           //我的任务列表
    //     Route::get('getCount', 'order/getCount');                       //获取任务数量
    //     Route::get('accept_sure_if', 'order/accept_sure_if');           //接单
    //     // Route::get('accept', 'order/accept');                        //接单
    //     // Route::get('getUndoneOrder', 'order/getUndoneOrder');        //获取未完成任务
    //     // Route::get('getCompletedOrder', 'order/getCompletedOrder');  //获取已完成任务
    //     Route::get('getRevokedOrder', 'order/getRevokedOrder');         //获取撤销任务
    //     Route::get('getDetail', 'order/getDetail');                     //获取任务详情
    //     Route::get('getPreDetail', 'order/getPreDetail');               //获取任务详情
    //     Route::post('doOrder', 'order/doOrder');                        //操作任务
    //     Route::get('sureOrder', 'order/sureOrder');                     //确认接单
    //     Route::get('noOrder', 'order/noOrder');                         //拒绝接单
    //     Route::post('cancelOrder', 'order/cancelOrder_post');           //取消任务
    //     Route::post('appeal', 'order/appeal_post');                     //任务申诉
    // })->middleware('Auth');

    // Route::group('wallet', function () {
    //     Route::get('recording', 'wallet/recording');              //资金明细
    //     Route::get('withdraw', 'wallet/withdraw');                //提现记录
    //     Route::post('withdraw', 'wallet/withdraw_post');          //提现申请
    // })->middleware('Auth');


   // Route::get('convertedTaoCMD', 'Common/convertedTaoCMD');
   // Route::post('taobaoProductGet', 'Common/taobaoProductGet');
    // Route::get('notice', 'Common/notice');                        //接手公告
    // Route::get('notice_detail', 'Common/notice_detail');          //接手公告详情
    // Route::get('captcha', 'Common/captcha');                      //图片验证码
   // Route::post('base64_upload', 'Common/base64_upload');         //base64上传文件
   // Route::post('upload', 'Common/upload');                       //上传文件
   // Route::post("uploaderV2", 'Common/uploaderV2'); //文件上传
    // Route::post('smsCode', 'Common/smsCode');//->middleware('CheckCaptcha');   //短信验证码
    // Route::get('pushMessage', 'Common/pushMessage');                //推送
    // Route::get('sendPushMessage', 'Common/sendPushMessage');        //推送
    Route::get('checkAppUpdate', 'Common/checkAppUpdate');//app检测更新
    Route::get('downPlug', 'Common/downPlug');//下载APP热更新文件
	Route::get('checkAppUpdate', 'Common/checkUpdate');//app检测更新
})->prefix('api/');
